package com.company.project.service;

import com.company.project.pojo.permission.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.pojo.permission.PermissionDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 任建波
 * @since 2019-08-10
 */
public interface IPermissionService extends IService<Permission> {

    /**根据role_id查询权限*/
    List<PermissionDTO> getPermissionListByRoleId(Integer roleId);

}
